- if GetVariable("vd")=="t" then
- Send("drop "..GetVariable("viper"))
- SetVariable("vd","f")
- end
- if GetVariable("vp")=="t" then
- Send("order "..GetVariable("viper").." passive")
- SetVariable("vp","f")
- end
- if GetVariable("vk")=="t" then
- Send("order "..GetVariable("viper").." kill "..GetVariable("t"))
- SetVariable("vk","f")
- end
- if GetVariable("vf")=="t" then
- Send("order "..GetVariable("viper").." follow me")
- SetVariable("vf","f")
- end
- if GetVariable("vft")=="t" then
- Send("order "..GetVariable("viper").." follow "..GetVariable("t"))
- SetVariable("vft","f")
- end
- if GetVariable("atkdiag")=="t" then
- Execute("diag")
- SetVariable("atkdiag","f")
- else
- if GetVariable("atkh")=="t" and GetVariable("atk")=="t" then
- SetVariable("chyp","f")
- EnableTrigger("hypnohelper",true)
- ColourNote("green","white","CONFLICT THING")
- end
- if @autosnap<2 and GetVariable("atk")=="t" then
- SetVariable("autosnap",@autosnap+1)
- elseif GetVariable("atk")=="t" then
- SetVariable("autosnap",0)
- SetVariable("atksn","t")
- end
- if GetVariable("hypnext")=="t" and GetVariable("chyp")=="t" then
- SetVariable("hypnext","f")
- SetVariable("atks","f")
- world.Send("stand")
- world.Send("hypnotise "..GetVariable("t"))
- end
- if GetVariable("atkh")=="t" and GetVariable("chyp")=="t" then
- SetVariable("atkh","f")
- world.Send("stand")
- world.Send("suggest "..GetVariable("t").." "..GetVariable("hyp"))
- elseif GetVariable("atks")=="t" and GetVariable("chyp")=="t" then
- SetVariable("atks","f")
- world.Send("seal "..GetVariable("t").." 1")
- SetVariable("atksn","t")
- elseif GetVariable("atkillus")=="t" then
- SetVariable("atk","f")
- SetVariable("chyp","t")
- SetVariable("atkillus","f")
- world.Send("conjure "..GetVariable("t").." illusion "..GetVariable("battleillusion"))
- elseif GetVariable("atkw")=="t" then
- world.Send("stand")
- if GetVariable("atksn")=="t" then
- SetVariable("atksn","f")
- world.Send("snap "..GetVariable("t"))
- SetVariable("autosnap",0)
- end
- SetVariable("atk","f")
- SetVariable("chyp","t")
- SetVariable("atkw","f")
- world.Send("touch web "..GetVariable("t"))
- elseif GetVariable("emostab")=="t" then
- world.Send("emote".." "..GetVariable("stabemote"))
- SetVariable("emostab","f")
- world.Send("conjure "..GetVariable("t").." illusion "..GetVariable("illusion"))
- elseif GetVariable("atkf")=="t" then
- world.Send("stand")
- if GetVariable("weapons")~="shieldwhip" then
- Send("unwield left")
- Send("unwield right")
- Send("wield "..GetVariable("shield"))
- Send("wield "..GetVariable("whip"))
- end
- if GetVariable("atksn")=="t" then
- SetVariable("atksn","f")
- SetVariable("autosnap",0)
- world.Send("snap "..GetVariable("t"))
- end
- SetVariable("atk","f")
- SetVariable("chyp","t")
- SetVariable("atkf","f")
- world.Send("flay "..GetVariable("t"))
- if GetVariable("atki")=="t" then
- SetVariable("atki","f")
- DoAfter(0.3,"conjure @t illusion @illusion")
- end
- elseif GetVariable("atkfr")=="t" then
- world.Send("stand")
- if GetVariable("weapons")~="shieldwhip" then
- Send("unwield left")
- Send("unwield right")
- Send("wield "..GetVariable("shield"))
- Send("wield "..GetVariable("whip"))
- end
- SetVariable("atk","f")
- SetVariable("chyp","t")
- SetVariable("atkfr","f")
- world.Send("flay "..GetVariable("t").." rebounding")
- if GetVariable("atki")=="t" then
- SetVariable("atki","f")
- DoAfter(0.3,"conjure @t illusion @illusion")
- end
- elseif GetVariable("atkgt")=="t" then
- world.Send("stand")
- if GetVariable("weapons")~="shieldwhip" then
- Send("unwield left")
- Send("unwield right")
- Send("wield "..GetVariable("shield"))
- Send("wield "..GetVariable("whip"))
- end
- SetVariable("atk","f")
- SetVariable("chyp","t")
- SetVariable("atkgt","f")
- world.Send("garrote "..GetVariable("t"))
- SetVariable("atk","f")
- elseif GetVariable("atkd")=="t" then
- world.Send("stand")
- if GetVariable("weapons")~="shielddirk" then
- Send("unwield left")
- Send("unwield right")
- Send("wield "..GetVariable("shield"))
- Send("wield "..GetVariable("dirk"))
- end
- SetVariable("chyp","t")
- SetVariable("atk","f")
- if GetVariable("atksn")=="t" then
- SetVariable("atksn","f")
- world.Send("snap "..GetVariable("t"))
- SetVariable("autosnap",0)
- end
- SetVariable("atkd","f")
- SetVariable("atkb","f")
- SetVariable("atkwh","f")
- world.Send("wipe dirk")
- world.Send("secrete "..GetVariable("v1").." on "..GetVariable("dirk"))
- world.Send("secrete "..GetVariable("v2").." on "..GetVariable("dirk"))
- world.Send("doublestab "..GetVariable("t"))
- if GetVariable("atki")=="t" then
- SetVariable("atki","f")
- SetVariable("atk", "f")
- if GetVariable("twoillu")=="t" then
- SetVariable("twoillu","f")
- Send("conjure @t illusion @illusion")
- EnableTrigger("secondillu",true)
- else
- DoAfter(0.2,"conjure @t illusion @illusion")
- end
- end
- elseif GetVariable("atkb")=="t" then
- SetVariable("chyp","t")
- SetVariable("atk","f")
- if GetVariable("atksn")=="t" then
- SetVariable("atksn","f")
- world.Send("snap "..GetVariable("t"))
- SetVariable("autosnap",0)
- end
- SetVariable("atkb","f")
- SetVariable("atkwh","f")
- if GetVariable("atki")=="t" and GetVariable("biteafter")=="f" then
- SetVariable("atki","f")
- world.Send("conjure "..GetVariable("t").." illusion "..GetVariable("illusion"))
- end
- world.Send("purge")
- world.Send("secrete "..GetVariable("v1"))
- world.Send("bite "..GetVariable("t"))
- world.Send("purge")
- SetVariable("atk","f")
- if GetVariable("atki")=="t" and GetVariable("biteafter")=="t" then
- SetVariable("atki","f")
- SetVariable("biteafter","f")
- world.Send("conjure "..GetVariable("t").." illusion "..GetVariable("illusion"))
- end
- elseif GetVariable("atkwh")=="t" then
- world.Send("stand")
- if GetVariable("weapons")~="shieldwhip" then
- Send("unwield left")
- Send("unwield right")
- Send("wield "..GetVariable("shield"))
- Send("wield "..GetVariable("whip"))
- end
- SetVariable("chyp","t")
- SetVariable("atk","f")
- if GetVariable("atksn")=="t" then
- SetVariable("atksn","f")
- world.Send("snap "..GetVariable("t"))
- SetVariable("autosnap",0)
- end
- SetVariable("atkd","f")
- SetVariable("atkb","f")
- SetVariable("atkwh","f")
- world.Send("whip "..GetVariable("t"))
- if GetVariable("atki")=="t" then
- SetVariable("atki","f")
- SetVariable("atk", "f")
- Send("conjure @t illusion @illusion")
- end
- end
- end
