Targon_ground - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Targon_ground (/Thread-Targon-ground) |
Targon_ground - seafish - 10-26-2013 07:00 AM Hi people! I would like target with pickaxe for example terrain type t_grass and recieve a message: Code: lalalalaa But it doesn't work! Help me please. RE: Targon_ground - sco - 10-26-2013 08:20 AM if (<SRC.TARGP.TYPE>=t_grass) RE: Targon_ground - seafish - 10-26-2013 08:48 AM dankishen! RE: Targon_ground - RanXerox - 10-26-2013 09:40 AM Code: [ITEMDEF i_shovel_special] RE: Targon_ground - seafish - 10-26-2013 09:48 AM ooh thank you, very useful, very rich script! I dont want to start new topic I have a truble. Code: ON=@ItemSpell Why my recall rune doesn't set 100 charges? Help me please! RE: Targon_ground - Alaric - 10-26-2013 10:39 AM If you use default spell 45 - mark, just change effect=100. Or use trigger on=@effect. http://wiki.sphere.torfo.org/index.php/TYPEDEF + charges for t_rune represents more1. RE: Targon_ground - seafish - 10-26-2013 08:02 PM thanx, but effect=100 doesnt set the charges for rune after Mark spell. 2. Code: ELIF (<ACT.BaseID>==i_rune_marker) RE: Targon_ground - XuN - 10-26-2013 09:16 PM (10-26-2013 08:02 PM)seafish Wrote: thanx, but effect=100 doesnt set the charges for rune after Mark spell. You need to learn first what is an ELIF for: It represents a condition check for ANYTHING that has not be correct before. Code: IF (<ARGN>==45) //If spell is mark Acording to this, if you cast a flamestrike to a rune it will be 'fire charged'? This code should do the work: Code: IF (<ARGN>==45) And this one will make it smaller: Code: IF (<ARGN>==45) && (<ACT.BaseID>==i_rune_marker) RE: Targon_ground - seafish - 10-26-2013 10:58 PM grasias, Code: On=@Itemspell there are 100 charges, but now I can't recall on rune because the spell is fizzle |