- 0
strcharinfo() no longer recognized in defpattern
Asked by
AnyThing
-
Recently Browsing 0 members
No registered users viewing this page.
Asked by
AnyThing
No registered users viewing this page.
By using this site, you agree to our Terms of Use.
prontera,162,184,4 script Heall 4_PORING,{specialeffect2 EF_HEAL2; percentheal 100,100;getitem 7139,1; // Get the Glistering Coat needed to cast FCPatcommand "@useskill 479 5 " +strcharinfo(0); // Full chemical protection lvl 5close;buffPlayer:specialeffect2 EF_HEAL2; percentheal 100,100;getitem 7139,1; // Get the Glistering Coat needed to cast FCPatcommand "@useskill 479 5 " +strcharinfo(0); // Full chemical protection lvl 5end;OnInit: defpattern 1, "([^:]+):.*sbuffme(s.*)?", "buffPlayer"; activatepset 1; end;}If I click the NPC, it will heal me and give me FCP.
But if i type 'buffme' in a view range of NPC, it will only heal me and give me 1 glistening coat without actually giving me FCP.
I think the problem is on strcharinfo(0). But on eathena, it's used to work. In hercules no longer work.
Share this post
Link to post
Share on other sites