Jump to content

luizragna

Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by luizragna

  1. Hello guys. I would like to do when a character killed a red plant got a little life. monster "pay_dun00",0,0,"[DG] Red Plant",1078,15,strnpcinfo(0)+"::OnBonus"; ... OnBonus: if (killrd == 1078){ percentlheal 15,0; specialeffect2 210,"+strcharinfo(0)+"; } The Devil Square count when a mob dies, but not healing and not showing the effect to the character;
  2. Solved! https://rathena.org/board/topic/110661-setunitdata-only-changes-the-parameter-of-the-first-mob/#comment-323290
  3. Hi guys. The NPC creates 3 MOBs but only the first comes with the parameters I chose. What to do? payon,172,218,4 script monstertest 52,{ monster "payon",167,215,"Bigfoot (Weakened)",1060,3; [email protected] = [email protected][0]; setunitdata [email protected],UMOB_MAXHP,10000; setunitdata [email protected],UMOB_ATKMIN,10000; setunitdata [email protected],UMOB_ATKMAX,21000; setunitdata [email protected],UMOB_MATKMIN,10000; setunitdata [email protected],UMOB_MATKMAX,21000; setunitdata [email protected],UMOB_HIT,10000; setunitdata [email protected],UMOB_ATKRANGE,5; setunitdata [email protected],UMOB_ADELAY,100; getunitdata [email protected],[email protected]; setunitdata [email protected],UMOB_HP,[email protected][UMOB_MAXHP]; end; }
  4. I removed to avoid problems and yet the problem continues.
  5. Hi all. For some reason the command setunitdada does not change only the HP of the monster and must change. The other status are changed, only the HP and MAXHP. What should I do so that they also be changed? OBS¹: The other older emulator which I wore, everything worked. OBS²:The console did not appoint any mistakes deletearray [email protected][0],getarraysize([email protected]); monster "payon",0,0,"Bigfoot (Weakened)",1060,100,"Room of Dungeon::OnMyMobDead"; //Bigfoot for ([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { setunitdata [email protected][[email protected]],UMOB_LEVEL,5; setunitdata [email protected][[email protected]],UMOB_MAXHP,100; setunitdata [email protected][[email protected]],UMOB_HP,100; setunitdata [email protected][[email protected]],UMOB_ATKMIN,40; setunitdata [email protected][[email protected]],UMOB_ATKMAX,45; setunitdata [email protected][[email protected]],UMOB_DEF,15; setunitdata [email protected][[email protected]],UMOB_MDEF,15; setunitdata [email protected][[email protected]],UMOB_FLEE,70; }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.