KaczooH
Co tu wpisac?
- Joined
- Oct 12, 2007
- Messages
- 904
- Reaction score
- 0
Hiho!
I've got an idea that I want to introduce into my server. It will be a wand for sorcerers and druids that needs ammo to work right.
I will be very happy if somebody could make up a script for me.
It looks like this:
if (player_slot_hand=ID_wand) then //IDK if it's necessary to make this if
if (player_slot_ammo=ID_ammo) then
DO_DAMAGE_LIKE_WANDS_DO;
else write player "You need ammo to use this wand"
end
else write player "You need to put you wand into your hand"
end
ID of ammo = 2361 (it's frozen starlight), so it's necessary to add there a counter that will count how much charges are left.
Thanks and best regards
I've got an idea that I want to introduce into my server. It will be a wand for sorcerers and druids that needs ammo to work right.
I will be very happy if somebody could make up a script for me.
It looks like this:
if (player_slot_hand=ID_wand) then //IDK if it's necessary to make this if
if (player_slot_ammo=ID_ammo) then
DO_DAMAGE_LIKE_WANDS_DO;
else write player "You need ammo to use this wand"
end
else write player "You need to put you wand into your hand"
end
ID of ammo = 2361 (it's frozen starlight), so it's necessary to add there a counter that will count how much charges are left.
Thanks and best regards