Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if attacker is a player:
- {smocza.runa::%attacker%} is set:
- set {_runa.dmg} to damage * ( {smocza.runa.dmg::%attacker%} / 100 )
- set damage to damage + {_runa.dmg}
- on damage:
- if attacker is a player:
- {smocza.runa::%attacker%} is set:
- set damage to damage + {smocza.runa.obr::%attacker%}
- on damage:
- if victim is a player:
- {lodowa.runa::%victim%} is set:
- set {_runa.def} to damage * ( {lodowa.runa.def::%victim%} / 100 )
- set damage to damage - {_runa.def}
- on damage:
- if victim is a player:
- if attacker is a player:
- if {elektryczna.runa::%victim%} is set:
- set {_odplud} to damage * ( {elektryczna.runa.lud::%victim%} / 100 )
- set damage to damage - {_odplud}
- on damage:
- if attacker is a player:
- if {obrazeniapogromca::%attacker%} is set:
- set {_obrazeniapogromca} to damage * ( {obrazeniapogromca::%attacker%} / 100 )
- set damage to damage + {_obrazeniapogromca}
- on damage:
- if attacker is a player:
- if {rownowaga-obrazenia::%attacker%} is set:
- set {_rownowagaobrazenia} to damage * ( {rownowaga-obrazenia::%attacker%} / 100 )
- set damage to damage + {_rownowagaobrazenia}
- on damage:
- if victim is a player:
- if attacker is a player:
- if {rownowaga-odpludzi::%victim%} is set:
- set {_rownowagaodpludzie} to damage * ( {rownowaga-odpludzi::%victim%} / 100 )
- set damage to damage - {_rownowagaodpludzie}
- on damage:
- if attacker is a player:
- if name of victim is "&aNapastnik Smierci &6Lvl. Mistrz":
- if {sztuka-obrazeniasmierci::%attacker%} is set:
- set {_sztukaobrazeniasmierci} to damage * ( {sztuka-obrazeniasmierci::%attacker%} / 100 )
- set damage to damage + {_sztukaobrazeniasmierci}
- on damage:
- if victim is a player:
- if {obronapogromca::%victim%} is set:
- set {_obronapogromca} to damage * ( {obronapogromca::%victim%} / 100 )
- set damage to damage - {_obronapogromca}
- on damage:
- if attacker is a player:
- if {naszyjnik::%attacker%} is set:
- set damage to damage + {naszyjnik-obrazenia::%attacker%} / 3
- on damage:
- if attacker is a player:
- if {srednie-bao::%attacker%} is set:
- set {_sredniebao} to damage * ( {srednie-bao::%attacker%} / 100 )
- set damage to damage + {_sredniebao}
- on damage:
- if attacker is a player:
- if {obrazeniawoj::%attacker%} is set:
- set {_wojobr} to damage * ( {obrazeniawoj::%attacker%} / 100 )
- set damage to damage + {_wojobr}
- on damage:
- if attacker is a player:
- if {rekawica::%attacker%} is set:
- set {_rekawicadmg} to damage * ( {rekawica-obrazenia::%attacker%} / 100 )
- set damage to damage + {_rekawicadmg}
- on damage:
- if attacker is a player:
- if {pas::%attacker%} is set:
- set {_pasdmg} to damage * ( {pas-obrazenia::%attacker%} / 100 )
- set damage to damage + {_pasdmg}
- on damage:
- if attacker is a player:
- if {sila.%attacker%} is set:
- set {_generalsila} to damage * ( {sila.%attacker%} / 100 )
- set damage to damage + {_generalsila}
- on damage:
- if attacker is a player:
- if victim is a player:
- if {silny-ludzie::%attacker%} is set:
- set {_silnyludzie} to damage * ( {silny-ludzie::%attacker%} / 100 )
- set damage to damage + {_silnyludzie}
- on damage:
- if attacker is a player:
- if victim is not a player:
- if {silny-moby::%attacker%} is set:
- set {_silnymoby} to damage * ( {silny-moby::%attacker%} / 100 )
- set damage to damage + {_silnymoby}
- on damage:
- if victim is a player:
- if {tarcza::%victim%} is set:
- set {_tarczadeff} to damage * ( {tarcza-obrona::%victim%} / 100 )
- set damage to damage - {_tarczadeff}
- on damage:
- if victim is a player:
- if {pas::%victim%} is set:
- set {_pasdeff} to damage * ( {pas-odpornosc::%victim%} / 100 )
- set damage to damage - {_pasdeff}
- on damage:
- if victim is a player:
- if {obrona.%victim%} is set:
- set {_generalodp} to damage * ( {obrona.%victim%} / 100 )
- set damage to damage - {_generalodp}
- on damage:
- if victim is a player:
- if {odp-srednia::%victim%} is set:
- set {_sredniaodp} to damage * ( {odp-srednia::%victim%} / 100 )
- set damage to damage - {_sredniaodp}
- on damage:
- if victim is a player:
- if {obronawoj::%victim%} is set:
- set {_odpwoj} to damage * ( {obronawoj::%victim%} / 100 )
- set damage to damage - {_odpwoj}
- on damage:
- if victim is a player:
- if attacker is not a player:
- if {odp-moby::%victim%} is set:
- set {_odpmoby} to damage * ( {odp-moby::%victim%} / 100 )
- set damage to damage - {_odpmoby}
- on damage:
- if victim is a player:
- if attacker is a player:
- if {odp-ludzie::%victim%} is set:
- set {_odpludzie} to damage * ( {odp-ludzie::%victim%} / 100 )
- set damage to damage - {_odpludzie}
- # BONY #
- on damage:
- if attacker is a player:
- if {BonusDmg2-0.%attacker%} is set:
- set {_dmgbony} to damage * ( 10 / 100 )
- set damage to damage + {_dmgbony}
- if {BonusDmg12-0.%attacker%} is set:
- set {_dmgbony} to damage * ( 25 / 100 )
- set damage to damage + {_dmgbony}
- if {BonusDmg22-0.%attacker%} is set:
- set {_dmgbony} to damage * ( 35 / 100 )
- set damage to damage + {_dmgbony}
- if {BonusDmg32-0.%attacker%} is set:
- set {_dmgbony} to damage * ( 50 / 100 )
- set damage to damage + {_dmgbony}
- if {BonusDmg42-0.%attacker%} is set:
- set {_dmgbony} to damage * ( 60 / 100 )
- set damage to damage + {_dmgbony}
- on damage:
- if victim is a player:
- if {BonusDef2-0.%victim%} is set:
- set {_odpbon} to damage * ( 10 / 100 )
- set damage to damage - {_odpbon}
- if {BonusDef12-0.%victim%} is set:
- set {_odpbon} to damage * ( 25 / 100 )
- set damage to damage - {_odpbon}
- if {BonusDef22-0.%victim%} is set:
- set {_odpbon} to damage * ( 35 / 100 )
- set damage to damage - {_odpbon}
- if {BonusDef32-0.%victim%} is set:
- set {_odpbon} to damage * ( 50 / 100 )
- set damage to damage - {_odpbon}
- if {BonusDef42-0.%victim%} is set:
- set {_odpbon} to damage * ( 60 / 100 )
- set damage to damage - {_odpbon}
- # CZARODZIEJ #
- on damage:
- if victim is a player:
- if {obronca::%victim%} is set:
- set {_odpczar} to damage * ( {obronca::%victim%} / 100 )
- set damage to damage - {_odpczar}
- stop
- on damage:
- if attacker is a player:
- if {uderzenie::%attacker%} is set:
- set {_obrczar} to damage * ( {uderzenie::%attacker%} / 100 )
- set damage to damage + {_obrczar}
- stop
- # MIKSTURY #
- on damage:
- if attacker is a player:
- if {potkadmg.%attacker%} is true:
- if {damage20.%attacker%} is true:
- set {_dmgmiks} to damage * ( 20 / 100 )
- set damage to damage + {_dmgmiks}
- if {damage30.%attacker%} is true:
- set {_dmgmiks} to damage * ( 30 / 100 )
- set damage to damage + {_dmgmiks}
- if {damage35.%attacker%} is true:
- set {_dmgmiks} to damage * ( 35 / 100 )
- set damage to damage + {_dmgmiks}
- if {damage50.%attacker%} is true:
- set {_dmgmiks} to damage * ( 50 / 100 )
- set damage to damage + {_dmgmiks}
- if {damage70.%attacker%} is true:
- set {_dmgmiks} to damage * ( 70 / 100 )
- set damage to damage + {_dmgmiks}
- if {obrazenia20.%attacker%} is true:
- set {_dmgmiks} to damage * ( 20 / 100 )
- set damage to damage + {_dmgmiks}
- on damage:
- if victim is a player:
- if {potkadef.%victim%} is true:
- if {def20.%victim%} is true:
- set {_odpmiks} to damage * ( 20 / 100 )
- set damage to damage - {_odpmiks}
- if {def30.%victim%} is true:
- set {_odpmiks} to damage * ( 30 / 100 )
- set damage to damage - {_odpmiks}
- if {def35.%victim%} is true:
- set {_odpmiks} to damage * ( 35 / 100 )
- set damage to damage - {_odpmiks}
- if {def50.%victim%} is true:
- set {_odpmiks} to damage * ( 50 / 100 )
- set damage to damage - {_odpmiks}
- if {def70.%victim%} is true:
- set {_odpmiks} to damage * ( 70 / 100 )
- set damage to damage - {_odpmiks}
- if {obrona20.%victim%} is true:
- set {_odpmiks} to damage * ( 20 / 100 )
- set damage to damage - {_odpmiks}
- # SREDNIE #
- on damage:
- if attacker is a player:
- loop 150 times:
- if "%uncoloured lore of attacker's tool%" contains "Srednie Obrazenia » %loop-number%%%":
- set {srednie::%attacker%} to loop-number
- set {_srednie} to damage * ( {srednie::%attacker%} / 100 )
- set damage to damage + {_srednie}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement