Jump to: navigation, search

Difference between revisions of "Spell"

Line 7: Line 7:
 
*Example=''Spell.HealPercentDecay()''
 
*Example=''Spell.HealPercentDecay()''
  
=====Spell.ProcDamage(stateNumber As Integer, damage As Integer, itemName As String, target As Integer, targetPlayer As Boolean) As Integer=====
 
*Description=''''
 
;'''Values'''
 
:* stateNumber=''    ''
 
:* damage=''    ''
 
:* itemName=''    ''
 
:* stateNumber=''    ''
 
:* targetID=''    ''
 
:* targetPlayer=''    ''
 
*Returns=''''
 
*Example=''Spell.ProcDamage()''
 
  
 
=====Spell.ScriptDamageNegation(ByVal ID As Integer, isIDPlayer As Boolean, attacker As Integer, attackerIsPlayer As Boolean, spelltype As Integer, damage As Double(Nullable), spellName As String) As Nullable(Of Integer)=====
 
=====Spell.ScriptDamageNegation(ByVal ID As Integer, isIDPlayer As Boolean, attacker As Integer, attackerIsPlayer As Boolean, spelltype As Integer, damage As Double(Nullable), spellName As String) As Nullable(Of Integer)=====

Revision as of 11:40, 29 June 2019

Spell

Spell.HealPercentDecay() As Double
  • Description='
Values
  • Returns='
  • Example=Spell.HealPercentDecay()


Spell.ScriptDamageNegation(ByVal ID As Integer, isIDPlayer As Boolean, attacker As Integer, attackerIsPlayer As Boolean, spelltype As Integer, damage As Double(Nullable), spellName As String) As Nullable(Of Integer)
  • Description='
Values
  • ID=
  • isIDPlayer=
  • attacker=
  • attackerIsPlayer=
  • spelltype=
  • damage=
  • spellName=
  • Returns=Returns the spell damage/effectiveness/etc, can be null.
  • Example=Spell.ScriptDamageNegation( )