-
Posts
776 -
Joined
-
Last visited
-
Days Won
22
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Posts posted by crazyarashi
-
-
22132:4131,{.@r = getequiprefinerycnt(EQI_SHOES); skill "AL_HEAL",10; if(BaseLevel < 99){ bonus bMatk,.@r*5;bonus bMdef,.@r*; } else { bonus bMatk,.@r*15;bonus bMdef,.@r*10; }}
Watch your spaces.
-
22132,Lighting_Gods_Shoes,Lightning Gods Shoes,4,20,,400,,18,,1,0xFFFFFFFE,63,2,64,,99,1,,{ .@r = getrefine(); bonus2 bVariableCastrate,-.@r; bonus bMatk,(.@r*5); bonus2 bMagicAddEle,Ele_Earth,2*.@r; bonus2 bAddEle,Ele_Neutral,2*.@r; bonus2 bAddEle,Ele_Undead,2*.@r; bonus2 bAddEle,Ele_Ghost,2*.@r; },{},{}
There is nothing wrong with your item script
-
prontera,255,255,3 script Equip Freebies 123,{ if(#claimed){ mes "[ Freebies ]"; mes "You alreay receieved your freebies."; close; } getinventorylist; for(.@i = 0; .@i < 20; .@i++){ .@id = getequipid(.@i); if(.@id == -1) .@equip_id[.@i] = 0; // Dummy Data else .@equip_id[.@i] = .@id; } for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ if(inarray(.@equip_id[0],.equip_id[.@i]) >= 0 || inarray(@inventorylist_id[0],.equip_id[.@i]) >= 0){ .@fail = 1; break; } continue; } if(.@fail){ mes "[ Freebies ]"; mes "You already have a duplicated freebies in your inventory/equipment."; close; } #claimed = 1; for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ getitem .equip_id[.@i],1; } mes "[ Freebies ]"; mes "Here is your freebies."; end; OnInit: setarray .equip_id,1208,2154; // Add your ID's here. end; }
-
That's an automatic announcement when you have the VIP feature on.
-
I believe in the official server they have a way to disable npc for a single id atleast that's what i notice when i copied it. the only work around for this is using OnTouch.
-
if((MaxWeight - Weight) < 1000){ mes "^FF0000 You must atleast have 1000 extra weight to receive freebies.^000000"; close; }
Add this at the part of your script :))
-
1
-
-
Just adjust the group to fit your needs, no need to the all_commands permission :))
-
1
-
-
it won't work because you have an extra ; in your code.
-
No it's not. :))
-
1
-
-
Change the .@r to
getequiprefinerycnt(EQI_SHOES);
-
1
-
-
.@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,.@r*3; bonus bFlee,.@r*5; } else { bonus bStr,.@r*10; bonus bFlee,.@r*15; }
-
1
-
-
5 minutes ago, dest1n said:
22178:4352,{ skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; .@r = getrefine(); if(BaseLevel<99){bonus bStr,3*.@r;bonus bFlee,5*.@r;}else{bonus bStr,10*.@r;bonus bFlee,15*.@r;} }
everything works fine but for the bonus str and flee every refine are not working for both condition
You added it in item_combo, you need to wear both item for effect to work.
-
The devs already prepared a fix for this, if you look at the pull request.
https://github.com/rathena/rathena/pull/4065 -
Remove the character since it eats a lot of space and make use of the right side space for the player information, rather than putting it near the exit button :))
-
1
-
-
https://github.com/rathena/rathena/issues/4015
Related to this. -
.@r = getrefine(); skill "SM_MAGNUM",10; bonus2 bHPRegenRate,5000,10000; bonus2 bSPRegenRate,100,10000; if(BaseLevel < 99){ bonus bStr,3*.@r; bonus bFlee,5*.@r; } else { bonus bStr,10*.@r; bonus bFlee,15*.@r; }
-
- script costume_drop -1,{ OnNPCKillEvent: .@index = inarray(.mob_id[0],killedrid); if(.@index < 0) end; if(rand(1,10000) <= .chance){ explode(.@ID$,.drop_data$[.@index],":"); announce "Congratulations to the player "+ strcharinfo(0) +" who, after killing a "+ getmonsterinfo( killedrid, MOB_NAME ) +" in "+ strcharinfo(3) +", got a rare costume!",0,0x00FF00; getitem atoi(.@ID$[1]),1; deletearray .@ID$[0],getarraysize(.@ID$); } end; OnInit: .chance = 3; setarray .drop_data$, "1001:501","1002:502","1003:503","1005:504"; //= "Mob ID:Costume ID" for(.@i = 0; .@i < getarraysize(.drop_data$); .@i++){ explode(.@mob_id$,.drop_data$[.@i],":"); .mob_id[.@i] = atoi(.@mob_id$[0]); deletearray .@mob_id$[0],getarraysize(.@mob_id$); } end; }
I haven't tested this yet, but it should work fine :))
-
1
-
-
getitembound2 1102,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1151,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1208,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1251,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1302,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1352,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1405,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1452,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1502,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1550,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1602,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1702,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1802,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1951,1,1,10,0,0,0,0,0,Bound_Account; getitembound2 1929,1,1,10,0,0,0,0,0,Bound_Account;
-
Your crash source is probably not the item db. if you want to remove an item from the database just simply comment it out.
-
-
https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L5895
*bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
-
On 4/8/2019 at 1:25 AM, tsuum said:
how do you install that on iro? LOL it gives me an error
You can't just simply customize an official server...
-
Change all your ip in your conf to localhost :))
-
I think this one is self explanatory already, it only increases the hp rate of the player :))
i need simple npc gift pls.
in Script Requests
Posted
you didn't mention about being equipped on the topic.
prontera,255,255,3 script Equip Freebies 123,{ if(#claimed){ mes "[ Freebies ]"; mes "You alreay receieved your freebies."; close; } getinventorylist; for(.@i = 0; .@i < 20; .@i++){ .@id = getequipid(.@i); if(.@id == -1) .@equip_id[.@i] = 0; // Dummy Data else .@equip_id[.@i] = .@id; } for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ if(inarray(.@equip_id[0],.equip_id[.@i]) >= 0 || inarray(@inventorylist_id[0],.equip_id[.@i]) >= 0){ .@fail = 1; break; } continue; } if(.@fail){ mes "[ Freebies ]"; mes "You already have a duplicated freebies in your inventory/equipment."; close; } #claimed = 1; for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ getitem .equip_id[.@i],1; equip .equip_id[.@i]; } mes "[ Freebies ]"; mes "Here is your freebies."; end; OnInit: setarray .equip_id,1208,2154; // Add your ID's here. end; }
Here is the new script that it will automatically equip it after receiving :))