how to tell if equipped weapon is two handed?

markblank05

New member
Messages
17
Points
0
hi, i'm trying to make my custom enchanter and come across a bug, the problem is my script same menu for shield when equipping two handed weapon, how to get if equip item is two handed or one handed. thanks

 
hi, i'm trying to make my custom enchanter and come across a bug, the problem is my script same menu for shield when equipping two handed weapon, how to get if equip item is two handed or one handed. thanks
if(getiteminfo(getequipid(EQI_HAND_R),11)==2 || getiteminfo(getequipid(EQI_HAND_R),11)==3) { put your script here }

test it

 
hi, i'm trying to make my custom enchanter and come across a bug, the problem is my script same menu for shield when equipping two handed weapon, how to get if equip item is two handed or one handed. thanks
if(getiteminfo(getequipid(EQI_HAND_R),11)==2 || getiteminfo(getequipid(EQI_HAND_R),11)==3) { put your script here }

test it
can you explain what is 11, 2 and 3? or give me the link. thanks

 
hi, i'm trying to make my custom enchanter and come across a bug, the problem is my script same menu for shield when equipping two handed weapon, how to get if equip item is two handed or one handed. thanks
if(getiteminfo(getequipid(EQI_HAND_R),11)==2 || getiteminfo(getequipid(EQI_HAND_R),11)==3) { put your script here }

test it
can you explain what is 11, 2 and 3? or give me the link. thanks
i get the idea in Sword Guardian Card

{
Id: 4427
AegisName: "Sword_Guardian_Card"
Name: "Sword Guardian Card"
Type: 6
Buy: 20
Weight: 10
Loc: 2
Script: <"
if(getiteminfo(getequipid(EQI_HAND_R),11)==2||getiteminfo(getequipid(EQI_HAND_R),11)==3) {
bonus bHit,5;
bonus bCritical,5;
bonus2 bSkillAtk,62,25;
}
 
">
},
 
http://ratemyserver.net/index.php?iname=sword+gu&page=item_db&quick=1&isearch=Search
 
Critical Rate + 5, HIT + 5Increases Bowling Bash damage with an one hand or two handed sword by 25%.
 
just put it in your npc script
 
Back
Top