• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Request: All monster damage 70% less! Rep!

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,780
Solutions
31
Reaction score
2,299
Location
Sweden?
I need a script that all monster damage on player 70% with magic and melee damage.

Rep!
 
like this?
LUA:
<item id="2472" article="a" name="magic plate armor">
		<attribute key="weight" value="8500"/>
		<attribute key="armor" value="17"/>
		<attribute key="absorbPercentPhysical" value="70"/>
		<attribute key="absorbPercentDeath" value="70"/>
		<attribute key="absorbPercentHoly" value="70"/>
		<attribute key="absorbPercentEnergy" value="70"/>
		<attribute key="absorbPercentIce" value="70"/>
		<attribute key="slotType" value="body"/>
	</item>
 
Otswe, use kimokimos example in config.lua.
"1.0" means "100%" so if you change to:
LUA:
-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 0.7
rateMonsterDefense = 1.0
All monsters will hit 70%.
 
i dont know if this will work :/ because my server including pets and i dont want them damage less :(
 
He wants it like that:
Player has storage X = 1
All monster will hit Player with 0.7x dmg = 30% reduction.

I think that's source edit.
Create a custom function in sources, use it in LUA.
Correct me if I'm wrong!
 

Similar threads

Replies
0
Views
276
Back
Top