Jump to content

Spell: Difference between revisions

From Ember Online Wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 Integer, 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 Double)=====
*Description=''''
*Description=''''
;'''Values'''
;'''Values'''

Latest revision as of 08:40, 9 February 2021

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 Double)
  • Description='
Values
  • ID=
  • isIDPlayer=
  • attacker=
  • attackerIsPlayer=
  • spelltype=
  • damage=
  • spellName=
  • Returns=Returns the spell damage/effectiveness/etc, can be null.
  • Example=Spell.ScriptDamageNegation( )