- Joined
- Sep 5, 2012
- Messages
- 17
(Updated)
Hi. I'm new but I'm trying to learn the play-around corners of World Editor, Triggers, and JASS. I really have no experience in World Editing but I have a little programming background. Very little that it can't be considered a knowledge.
So, I want to start atleast making one spell (or understanding how it was made).
Here is the spell:
So the first step I am trying to figure out that I cannot determine is the event of the unit's pre-death, or the event upon receiving a fatal damage (damage that will cause death).
So how could I create this even since obviously 'Unit Dies' doesn't work.
So this time, I am trying to detect a unit's current STR and max health and how to duplicate a self-heal spell. But I can't seem to find the right functions for it.
Anyone could lend a hand again?
Thanks. After this, I will try to proceed on the next steps and if there are something I couldn't find, I will try to ask here again.
Any help is gladly appreciated.
Currently working to fix the ability's balance (well, that's nothing to do with coding). But the main problem is the flaw where only the first attacked unit triggers the effect if more than one unit has the ability.
Map done: http://www.hiveworkshop.com/forums/...to-rebirth-ability-project-index-test-map.w3x
Would using an 'array' fix this?
FIXED! I don't know how to explain on how did I fix it. Just check the code. Also, please tell me could be the problem that may arise or what could leak from the codes D:
Revised/Final version: http://www.hiveworkshop.com/forums/attachment.php?attachmentid=117738&stc=1&d=1347093644
Uploaded for iChaos.
Hi. I'm new but I'm trying to learn the play-around corners of World Editor, Triggers, and JASS. I really have no experience in World Editing but I have a little programming background. Very little that it can't be considered a knowledge.
So, I want to start atleast making one spell (or understanding how it was made).
Here is the spell:
Auto-Rebirth (Innate - Passive) - Automatically heals himself by consuming his mana before his health completely depletes. Each point of mana recovers hitpoints based on his strength healing at full health or until all mana are consumed. Using magic as an esper-magician hybrid will cost him health instead of mana.
Current progress:
- [Done] Being able to detect a unit's pre-death, or the event upon receiving a fatal damage (damage that will cause death).
- [Done] Being able to detect unit's current STR/Max health.
- [Done] Being able to create a self-heal trigger.
- [Done] Overall mechanics (full credits to WaterKnight)
- [Done] Fixing flaw: Only first attacked unit will trigger the spell if more than one unit has spell.
Revised/Final version: http://www.hiveworkshop.com/forums/attachment.php?attachmentid=117723&stc=1&d=1347003315
So how could I create this even since obviously 'Unit Dies' doesn't work.
So this time, I am trying to detect a unit's current STR and max health and how to duplicate a self-heal spell. But I can't seem to find the right functions for it.
Anyone could lend a hand again?
Thanks. After this, I will try to proceed on the next steps and if there are something I couldn't find, I will try to ask here again.
Any help is gladly appreciated.
Currently working to fix the ability's balance (well, that's nothing to do with coding). But the main problem is the flaw where only the first attacked unit triggers the effect if more than one unit has the ability.
Map done: http://www.hiveworkshop.com/forums/...to-rebirth-ability-project-index-test-map.w3x
Would using an 'array' fix this?
FIXED! I don't know how to explain on how did I fix it. Just check the code. Also, please tell me could be the problem that may arise or what could leak from the codes D:
Revised/Final version: http://www.hiveworkshop.com/forums/attachment.php?attachmentid=117738&stc=1&d=1347093644
Uploaded for iChaos.
Attachments
Last edited: