• 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!

Compiling Additional Damage Types

Reyn

On to the next One
Joined
May 15, 2010
Messages
259
Reaction score
1
Location
Germany ;3
Hey Otlanders,
i wanted to add some additional damage types to my otserv, but i don't know which source i need to edit.
Also i want to set those armor conditions like "absorbpercentfire" for those damage types
plus the immune flags for the monsters for that kind of damage
I hope somebody could help me out :p
Regards,
Reyn
 
Last edited:
Err yeah i asked where at the sources i can find them but i found the first part :/
but anyways i cant find the sources with the "absorbpercentfire" and <element firePercent="100"/>...
or do i only need to edit the global & damage types in sources?
 
:S i don't want to call anyone, i just want to know which source contains the "absorbpercentfire" and <element firePercent="100"/> stuff
 
ehm nope? you will compile anyways so you have to open all sources at once with devcpp 0.0
 
o.o items.cpp
PHP:
            else if(tmpStrValue == "absorbpercentfire")
            {
                if(readXMLInteger(itemAttributesNode, "value", intValue))
                    it.abilities.absorb[COMBAT_FIREDAMAGE] += intValue;
            }
 
Back
Top