| 09-25-2004, 01:25 PM | #1 |
I finished making the new caster system, I only have to make new examples and update the readme, for all those who are interested these are the things we are going to have: - The CasterCastAbility functions now have a level version where you can choose the level of the ability, this really helps hero abilities out. - The Old Damage functions are left for compatibility, will just call the internal UnitDamageTarget with some default attack and damage types you can specify. - Added a batch of new damage functions (AOE damage, Group damage, Timed Target damage , damaging effect, and projectiles) You can easily choose the attack and damage types, And there are options for a exception factor, and to only affect units that have one classification , (this is to simulate targets allowed) And I did something pretty with the damage parameters , I invented optional function arguments! , so calling the new aoe damage function will need you to do something like this: Code:
DamageTypes(ATTACK_TYPE_NORMAL,DAMAGE_TYPE_DIVINE) + DamageException(UNIT_TYPE_UNDEAD,2) + DamageOnly(UNIT_TYPE_GROUND) This would mean that the damage will be normal divine, and will affect only ground units and in case the unit is undead it will take double damage. |
| 09-26-2004, 06:54 PM | #2 |
Sweet, can't wait ^_^ Did you alter your old DamageUnit functions to fit the new Damage Target action, or is it there the same way it was before? I'm confused, but I'm also quite tired from a short vacation, so maybe I'll read it again later. |
| 03-31-2005, 09:47 AM | #3 |
Guest | why you don't just post it as a beta?? i'm just learnig to make good speels @ the moment because i'm relativly new and i simply want a speelsystem in my map that doesn't need 2 be upgraded every 2nd week, so it would be nice to get the newest version, even if theres no special description. I dont wanna make a spell with it, but i want to implement new spells in the next 2 weeks, and it's not helpful that i need to upgrade the spellsystem the 3rd time now and in a week again and so on... ::post a user and a editor edition!?? :D would be nice |
| 03-31-2005, 09:07 PM | #4 |
This version I am talking about was released like 6 months ago.. See the date in the post for god's sake. We are at patch 1.18 right now, patch 1.17 was before the current patch. The only difference between an user and an editor edition would be that the editor edition would describe what the functions do, not just because of calling it user edition it will be easier to implement |
