Jump to content

Continuous fire damage [ Ticket : 1912 ]


Recommended Posts

I've started looking into this ticket1912.

From what I understand from the ticket description this is the scenario . Once a fiery ball/bolt hits a target, it should cause splash damage and in addition, a continous damage to the units in the splash zone for a fixed amount of time.

Some questions regarding this

1) Given that all the damages caused are currently instantaneous, I need to make this one continous for a given time. Lets say I add a Damage.CauseContinousDamage() function to the Damage object. How do I ensure that the units in the splash zone are recieving the fire damage periodically?

2)Should the period of this continuos fire damage be greater than the rate of firing of the Ballista?

3)From Attack.js I see that MissileHit function causes a single call to Damage.CauseSplashDamage () function . How does one ensure

that the Damage.ContinouseDamage() function is called a number of times for every Missilehit ?

Edited by Mooseman
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...