Page 1 of 1

"ProjectileSpell" class asset definitions? want to credit XP

Posted: Thu Mar 14, 2013 10:49 pm
by Komag
Hey, I sorta want a certain projectile spell, fired from a spawner, to give all the champions the normal XP from a monster kill, but I don't see any easy way to do this. Particularly, there is no listing of "ProjectileSpell" on the Asset Definition reference page.

I can look at an original spell definition from the asset pack, and there is nothing there directly about champion XP awarded or anything like that (such as what you can do with damageTile), but maybe there is a method? I see an entry for "tags" which only has "spell" listed, maybe there are other possible tags to add?

Re: "ProjectileSpell" class asset definitions? want to credi

Posted: Thu Mar 14, 2013 11:13 pm
by msyblade
I may misunderstand, but I would clone the monsters with an onDie hook to grant the XP. Oh wait, then if the party killed said monster, they would get double XP. Unless maybe you put a hook in the party for that specific monster?

Re: "ProjectileSpell" class asset definitions? want to credi

Posted: Fri Mar 15, 2013 12:52 am
by AdrTru
IMHO this situation isnt normal for distribute Xp. So modmaker may fix this situation by some hooks.
But you may to make more hooks ,properties and functions on all objects. For example I miss position of projectile in real number(or %) of actual position (for detection in center of position etc.).