- Dołączył
- Kwiecień 24, 2013
- Posty
- 7
- Liczba reakcji
- 0
Witam, mam problem z skrybtem na odejmowanie many i hp po wylogowaniu, ot?? gry chce si? zalogowa? na posta?, automatycznie mnie wylogowywuje, w sumie nawet nie widz?, ze zalogowalem na posta?, ale ocieniam to ze tak si? dzieje po wiadomo?ci w konsoli.
[28/06/2013 13:58:06] Tranks has logged in.
[28/06/2013 13:58:07] Tranks has logged out.
Wiec skrybt wyglada nastepujaco
W login.lua i creaturescripts.xml doda?em all jak nale?y, wiec problem jest w skrybcie.
Prosz? o szybk? odpowied?.
[28/06/2013 13:58:06] Tranks has logged in.
[28/06/2013 13:58:07] Tranks has logged out.
Wiec skrybt wyglada nastepujaco
PHP:
function onLogin(cid)
if getPlayerVocation(cid) == 2 then
setCreaturerMaxMana(cid, getCreatureMaxMana(cid) -1000)
setCreaturerMaxHealth(cid, getCreatureMaxHealth(cid) -1000)
elseif getPlayerVocation(cid) == 3 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 4 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 5 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 6 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 8 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 9 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 10 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 11 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 12 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 14 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 15 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 16 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 17 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 18 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 20 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 21 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 22 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 23 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 24 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 26 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 27 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 28 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 29 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 30 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 32 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 33 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 34 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 35 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 36 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 38 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 39 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 40 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 41 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 42 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 44 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 45 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 46 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 47 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 48 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 58 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 59 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 60 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 61 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 62 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 69 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 70 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 71 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 72 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 73 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 76 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 77 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 78 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 79 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 80 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 83 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 84 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 85 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 88 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 89 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 90 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 93 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 94 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 95 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 98 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 99 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 100 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 103 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 104 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 105 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 108 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 109 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 110 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 113 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 114 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 115 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 118 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 119 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 120 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 123 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 124 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 125 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 128 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 129 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 130 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 133 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 134 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 135 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 166 then
setCreaturerMaxMana(cid, getCreatureMaxMana(cid) -1000)
setCreaturerMaxHealth(cid, getCreatureMaxHealth(cid) -1000)
elseif getPlayerVocation(cid) == 167 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 168 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 169 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 170 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 173 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 174 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 175 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 178 then
setCreaturerMaxMana(cid, getCreatureMaxMana(cid) -1000)
setCreaturerMaxHealth(cid, getCreatureMaxHealth(cid) -1000)
elseif getPlayerVocation(cid) == 179 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 180 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 181 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 182 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 187 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 188 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 189 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 188 then
setCreaturerMaxMana(cid, getCreatureMaxMana(cid) -1000)
setCreaturerMaxHealth(cid, getCreatureMaxHealth(cid) -1000)
elseif getPlayerVocation(cid) == 189 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 190 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 191 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 192 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 193 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 194 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 195 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 208 then
setCreaturerMaxMana(cid, getCreatureMaxMana(cid) -1000)
setCreaturerMaxHealth(cid, getCreatureMaxHealth(cid) -1000)
elseif getPlayerVocation(cid) == 209 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-3000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-3000)
elseif getPlayerVocation(cid) == 210 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-6000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-6000)
elseif getPlayerVocation(cid) == 211 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-10000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-10000)
elseif getPlayerVocation(cid) == 212 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-14000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-14000)
elseif getPlayerVocation(cid) == 214 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 216 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
elseif getPlayerVocation(cid) == 216 then
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)-1000)
setCreatureMaxMana(cid, getCreatureMaxMana(cid)-1000)
return true
end
end
W login.lua i creaturescripts.xml doda?em all jak nale?y, wiec problem jest w skrybcie.
Prosz? o szybk? odpowied?.
| Notka moderatorska: |
| U?ywaj znacznik?w |

przyjebany dzieciak..