Hello, I have this script, but I want to change the HP of the mobs. I tried to do this using setunitdata, but it didn't work. Does anyone have any advice or an example of how to change the HP of spawned mobs?
Quote
//===== rAthena Script =======================================
//= Bossnia Warp NPCs
//===== By: ==================================================
//= Masao
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Bossnia MVP event.
//===== Additional Comments: =================================
//= 1.0 Converted from the official script.
//= 1.1 Optimized. [Euphy]
//= 1.2 Moved spawns and warps (by Masao) to this file. [Euphy]
//= 1.3 Added VIP features. [Euphy]
//============================================================
mes "[Cheffenia]";
mes "Olá bem vindo a Cheffenia Glubro";
mes "Selecione o modo que vc deseja entrar";
mes "Será cobrado um valor de 20kk de zeny a cada entrada!";
if (VIP_SCRIPT) {
mes "a grudge against me. It'll cost you 1 Reset Stone for 5 access.";
next;
mes "[Cheffenia]";
if (bossnia_event > 0) {
set .@type,1;
mes "Remaining access: "+bossnia_event;
} else if (countitem(6320)) {
set .@type,2;
mes "Do you want to go?";
} else {
mes "You don't have a ticket now.....";
mes "So come to me again with a Reset Stone later.";
close;
}
next;
if(select("Enter:Leave") == 2)
close;
set .@i, select("Easy:^0000FFNormal:^FF000 Hard:^6666CCModo Deus");
switch(select("Warp 1:Warp 2:Warp 3:Warp 4")) {
case 1: set .@x,31; set .@y,208; break;
case 2: set .@x,31; set .@y,31; break;
case 3: set .@x,208; set .@y,31; break;
case 4: set .@x,208; set .@y,208; break;
}
if (.@type == 1)
set bossnia_event, bossnia_event-1;
else {
delitem 6320,1; //Premium_Reset_Stone
set bossnia_event,4;
}
specialeffect2 EF_MAXPOWER;
warp "bossnia_0"+.@i,.@x,.@y;
close;
} else {
next;
if (Zeny > 20000000) {
mes "[Cheffenia]";
mes "Selecione o nivel da cheffenia, e divirta-se!";
mes "Um mero humano nunca ira enfrentar os Deuses";
next;
set .@i, select("^228B22Easy:^0000FFNormal:^FD4F02Hard:^B8860BModo Deus");
mes "[Riss]";
mes "Take care, boy~";
mes "Don't hold a grudge against me.";
close2;
set Zeny, Zeny - 20000000;
warp "bossnia_0"+.@i,rand(202,204),rand(202,204);
end;
} else {
mes "[Riss]";
mes "You don't have enough money...";
mes "Come back when you have at least 5,000 zeny.";
close;
}
}
}
geffen,124,169,4 duplicate(Cheffenia#1) Bossnia Staff#2 908
payon,165,150,4 duplicate(Cheffenia#1) Bossnia Staff#3 908
morocc,142,100,4 duplicate(Cheffenia#1) Bossnia Staff#4 908
lighthalzen,203,140,4 duplicate(Cheffenia#1) Bossnia Staff#5 908
rachel,132,144,4 duplicate(Cheffenia#1) Bossnia Staff#6 908
Question
Gaspar145
Hello, I have this script, but I want to change the HP of the mobs. I tried to do this using
setunitdata
, but it didn't work. Does anyone have any advice or an example of how to change the HP of spawned mobs?3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.