"ProjectileSpell" class asset definitions? want to credit XP

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Komag
Posts: 3659
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

"ProjectileSpell" class asset definitions? want to credit XP

Post 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?
Finished Dungeons - complete mods to play
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

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

Post 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?
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
AdrTru
Posts: 223
Joined: Sat Jan 19, 2013 10:10 pm
Location: Trutnov, Czech Republic

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

Post 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.).
My LOG2 projects: virtual money, Forge recipes, liquid potions and
MultiAlcoveManager, Toolbox, Graphic text,
Post Reply