Staredit Network

Staredit Network -> UMS Assistance -> Spell Trigger
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-20 at 17:54:42
Hello, I'm making a RPG and I use a spell system, anyway. Now when I fight a guy, let's say I cast Fireball. It will cast it, and make his life go down by 50%. But then, if I cast it again, it will stay at 50%. So my question is : Is there a way to make it like 50%, 30%, 20% etc. so it ALWAYS go down?

-SubZero.
Report, edit, etc...Posted by Kizar(A) on 2004-12-20 at 17:59:50
This is just a suggestion so dont take it to seriosly, but you could try to make the spell do just basic damage instead of decreasing a units life down to a certian percent.
Report, edit, etc...Posted by LegacyWeapon on 2004-12-20 at 18:15:32
In order to do that spell, you would need counters or use ShinRa_Soldier's method.
I strongly suggest using a unit to subtract hp.

http://www.staredit.net/index.php?showtopic=7786
^ShinRa_Soldier's method.
Report, edit, etc...Posted by chuiu on 2004-12-20 at 18:33:55
When you do that, you're only SETTING his life to 50%. There is no easy way of decreasing his life by 50% everytime but it can be done. Unfortunately it requires many triggers and the use of custom life points.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-12-20 at 18:46:52
QUOTE(LegacyWeapon @ Dec 20 2004, 05:15 PM)
In order to do that spell, you would need counters or use ShinRa_Soldier's method.
I strongly suggest using a unit to subtract hp.

http://www.staredit.net/index.php?showtopic=7786
^ShinRa_Soldier's method.
[right][snapback]112728[/snapback][/right]


That wouldn't work very well. The only reason ShinRas works as well as it does is because it is specificaly computer verse computer and pretty much everything that attacks the computer doesn't have a ranged attack.
Report, edit, etc...Posted by PearS on 2004-12-20 at 21:15:45
I have a few spells like this in my rpg and I used deathcounts to detect how long it has been since the player last casted the spell. For example if the deathcount= 0, set the enemy unit's hp to 75%-add 120 death counts. If the deathcounts are at leats 12, set the enemy unit's hp to 50%-add 260 death counts. If the deathcount are at least 132, set enemy unit's hp to 25%. You wouldn't be able to use such large numbers or the counts might roll over into the next battle. You could also use a burrowed zergling in a non-visible area to keep track of the casting of the spell. Or have like a building that takes a Sunken 5 seconds to kill and each time he casts the spell, create one of the buildings off screen that is constantly being hit by the sunken. Then acording to how many of the buildings are there when the player casts the spell...thats how much you would set the enemy unit's hp to.
Next Page (1)