• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Ammunition attack

zakius

Enter the Ninja!
Joined
Apr 30, 2009
Messages
2,635
Reaction score
65
Location
with Taiga
Hey guys, I'm wondering if it is possible to show ammunition attack when someone is looking at it, I tried showattributes with no effect, of course it will be cool if it can be done without source edit, but if its only way it will be ok
 
He means like
You see an arrow (Atk 2 Def 5)
...
Just edit it when it says weapon name..

For example:
Arrow states "an Arrow"
change it to: "an Arrow (Atk: 3, Def:5)
Or whatever the atk etc is :/
 
Go to item.cpp, line arround 913 and find:
Code:
else if(it.weaponType != WEAPON_AMMO && it.weaponType != WEAPON_WAND)

Replace with:
Code:
else if(it.weaponType != WEAPON_WAND)
 
Thx Chojrak, and Three Magic: Your method is so simple(hehe, text on your avatar pwns:D and I like simple methods too :D but its better to autocheck, because I'm changing these values, so I can write bad value in name)
Anyway thx and rep for both, because both methods works
 
Back
Top