[Request] Script

iCORE

New member
Messages
393
Points
0
Location
Halcyon Ragnarok
Github
Naori
Emulator
is it possible to make a quest script like this

player should finish the quest to equip an specific item.

Edit:

give the npc 500 Red Potion to equip Glorious Items

 
Last edited by a moderator:
Hmm...

You can edit all glorious items OnEquip script like this:

OnEquipScript: <" if( somevariable != something ) { unequip EQI_HAND_R; unequip EQI_HAND_L; dispbottom "Weapon evades your firm grasp and slips out of your hand."; }">
It's unequipping both hands to prevent abuse from sin classes with their double wielding.

And then just set that "somevariable" after quest is finished. You can make it account-wide if you want.

 
That's exactly the problem solution I gave for. If quest isn't complete (somevariable isn't set to something) right when equipping item it'll unequip itself. If it's not weapon then change unequipped slot (EQI_HAND_R and EQI_HAND_L).

Here's full list:

Code:
EQI_HEAD_TOP (1)          - Upper head gearEQI_ARMOR (2)             - Armor (Where you keep your Jackets and Robes)EQI_HAND_L (3)            - What is in your Left hand.EQI_HAND_R (4)            - What is in your Right hand.EQI_GARMENT (5)           - The garment slot (Mufflers, Hoods, Manteaus)EQI_SHOES (6)             - What foot gear the player has on.EQI_ACC_L (7)             - Accessory 1.EQI_ACC_R (8)             - Accessory 2.EQI_HEAD_MID (9)          - Middle Headgear (masks and glasses)EQI_HEAD_LOW (10)         - Lower Headgear (beards, some masks)EQI_COSTUME_HEAD_LOW (11) - Lower Costume HeadgearEQI_COSTUME_HEAD_MID (12) - Middle Costume HeadgearEQI_COSTUME_HEAD_TOP (13) - Upper Costume HeadgearEQI_COSTUME_GARMENT (14)  - Costume GarmentEQI_SHADOW_ARMOR (15)     - Shadow ArmorEQI_SHADOW_WEAPON (16)    - Shadow WeaponEQI_SHADOW_SHIELD (17)    - Shadow ShieldEQI_SHADOW_SHOES (18)     - Shadow ShoesEQI_SHADOW_ACC_R (19)     - Shadow Accessory 2EQI_SHADOW_ACC_L (20)     - Shadow Accessory 1
 
Last edited by a moderator:
Back
Top