explosion potion - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: explosion potion (/Thread-explosion-potion) |
explosion potion - Art - 10-07-2015 10:14 AM Hello. How can i check that damage was from explosion potion? ON=@SpellEffect not working, seems it's physical damage, but in trigger ON=@Hit i not found any reference to item in wiki. RE: explosion potion - Kanibal - 10-07-2015 12:56 PM (10-07-2015 10:14 AM)Art Wrote: Hello. How can i check that damage was from explosion potion? ON=@SpellEffect not working, seems it's physical damage, but in trigger ON=@Hit i not found any reference to item in wiki. http://wiki.sphere.torfo.org/index.php/@GetHit RE: explosion potion - Coruja - 10-07-2015 01:09 PM explosion potion uses the same damage as the explosion spell you can change the potion strength using the MORE2 value on the item eg: using MORE2=80.0 is like cast explosion potion with 80.0 magery skill RE: explosion potion - Art - 10-08-2015 02:30 AM Sorry, i wrote mistake, i meant i used @GETHIT instead of @HIT. Seems you not understand my question. I want to track that damage was done by explosion potion, not by other way. Trigger @SpellEffect does not react, so then @GetHit, but how to check source of damage (explosion potion)? RE: explosion potion - Kanibal - 10-08-2015 02:57 AM (10-08-2015 02:30 AM)Art Wrote: ...but how to check source of damage (explosion potion)? Code: I >> The character being damaged. RE: explosion potion - Art - 10-08-2015 04:07 AM SRC refers to character, not to item (explosion potion), and argn2 contains flags of damage type as i understood. I had read flags in sphere_defs.scp, there nothing about explosion potions. |