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; .@mobid = $@mobid[0]; setunitdata .@mobid,UMOB_MAXHP,10000; setunitdata .@mobid,UMOB_ATKMIN,10000; setunitdata .@mobid,UMOB_ATKMAX,21000; setunitdata .@mobid,UMOB_MATKMIN,10000; setunitdata .@mobid,UMOB_MATKMAX,21000; setunitdata .@mobid,UMOB_HIT,10000; setunitdata .@mobid,UMOB_ATKRANGE,5; setunitdata .@mobid,UMOB_ADELAY,100; getunitdata .@mobid,.@param; setunitdata .@mobid,UMOB_HP,.@param[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 $@mobid[0],getarraysize($@mobid); monster "payon",0,0,"Bigfoot (Weakened)",1060,100,"Room of Dungeon::OnMyMobDead"; //Bigfoot for (.@i = 0; .@i < getarraysize($@mobid); .@i++) { setunitdata $@mobid[.@i],UMOB_LEVEL,5; setunitdata $@mobid[.@i],UMOB_MAXHP,100; setunitdata $@mobid[.@i],UMOB_HP,100; setunitdata $@mobid[.@i],UMOB_ATKMIN,40; setunitdata $@mobid[.@i],UMOB_ATKMAX,45; setunitdata $@mobid[.@i],UMOB_DEF,15; setunitdata $@mobid[.@i],UMOB_MDEF,15; setunitdata $@mobid[.@i],UMOB_FLEE,70; }
×
×
  • Create New...