![]() |
56b - some problems .... - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: 56b - some problems .... (/Thread-56b-some-problems) |
56b - some problems .... - an0n!m0use - 02-19-2013 05:22 AM Hi, I need some help. 1) With MagicReflection: not working ![]() It's from sphere_spells.scp PHP Code: [Spell 36] My Event: PHP Code: [EVENTS e_combat] Where is problem ? ะพ_0 2) I'm find one script: hide helm PHP Code: On=@Equip The problem is ... when i change the helmet .... in pack drops this: ![]() 3) I'm wonna mod. this event ... PHP Code: [EVENTS e_no_curse] How make this magic to reflected on enemy ... who attack you ... RE: 56b - some problems .... - Shaklaban - 02-19-2013 08:18 AM 1. http://forum.spherecommunity.net/Thread-Will-this-work-and-how-to-short-it-down use my method for magic reflection. 2. give item attr_invis if you want to hide it. if you change its dispid to item which is cannot be equipped it will bounce to the backpack. 3. use src.spelleffeect 8 1000 <uid> but use it cautious because if someone cast it to itself or another character which has that event server can crash you need to consider these situations. RE: 56b - some problems .... - an0n!m0use - 02-20-2013 08:29 AM 2Shaklaban Thx ![]() Can you help me with scripts ![]() I very need: 1) With critical damage, enemy has been poisoned and weaken (lost strength at 24-35 points) ( duration of the effect 15 seconds) 2) With critical damage has dismount (from mounts) an enemy, if enemy don't have mounts, just paralyze ... PHP Code: On=@Damage 3) I have a ring, and need this effect: Every third paralyze has no effect on owner of the ring, but paralyzing attacker. PHP Code: [EVENTS e_anti_paralyze_reflect] RE: 56b - some problems .... - an0n!m0use - 02-25-2013 03:07 AM Guys ? ![]() RE: 56b - some problems .... - Crusader - 03-13-2013 07:23 AM well the critical damage cannot be seen, u can just see if u damage is high to certain threshold so u can do, under ur player event: 1) ON=@HIT // [] char doing the hitting // SRC char hit IF <ARGN1> >= x //(x is the value u want, high enought to be critical ) SRC.POISON 100.0 SRC.SPELLEFFECT 8,100 ENDIF RETURN 0 2) ON=@HIT // [] char doing the hitting // SRC char hit IF <ARGN1> >= x //(x is the value u want, high enought to be critical ) IF (<SRC.FINDLAYER.25>) // layer 25 is for horse SRC.DISMOUNT ELSE SRC.SPELLEFFECT 38,100 ENDIF ENDIF 3) //I have a ring, and need this effect: Every third paralyze has no effect on owner of the ring, but paralyzing attacker. ON=@SPELLEFFECT IF (<EVAL <ARGN1>>==38) IF !(<TAG0.REFLECTIVERING>) TAG.REFLECTIVERING = 1 ELSE IF <TAG0.REFLECTIVERING> > 2 SRC.SPELLEFFECT 38,100 TAG.REFLECTIVERING= ELSE TAG.REFLECTIVERING += 1 ENDIF ENDIF ENDIF for the last one i'm not really sure, maybe u have to check a bit...good luck |