[Solved] Damage system problem

Status
Not open for further replies.
Level 5
Joined
Feb 18, 2016
Messages
96
Well this is actually weird but i cannot modify a variable properly and i cannot find the reason

This is a custom spell i made from the damage engine system
The trigger should make more damage as far as 2 units go from each other

  • Dmg
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • Set APOINTTEMP = (Position of Peasant 0001 <gen>)
      • Set TempLoc = (Position of Priest 0019 <gen>)
      • Set QCatMeleDMG[81] = ((Distance between APOINTTEMP and TempLoc) / 10.00)
      • Game - Display to (All players) the text: (String(QCatMeleDMG[81]))
      • Set DamageEventAmount = (DamageEventAmount + (QCatMeleDMG[81] x DamageEventAmount))
      • Game - Display to (All players) the text: (String(DamageEventAmount))
As you can see it is very simple but ,for some reason, incompatible with the system

Could someone help me with this?



Both maps are in the attachments file
 

Attachments

Status
Not open for further replies.
Back
Top