mob
Arrancar
verb
mask()
set name = "Arrancar Mask"
set category = "Fighting"
if(usr.safe)
usr << "<b>You are in safe zone!"
return
if(usr.frozen)
return
if(usr.resting)
return
if(!usr.maskon)
usr.maskon = 1
usr.dir = SOUTH
usr.frozen = 1
new/obj/vaion(usr.loc)
sleep(7)
usr.frozen = 0
// if(usr.arrancarmask == "YammyMask")
// usr.overlays += 'YammyMask.dmi'
// if(usr.vaizardmask == "UlquiorraMask")
// usr.overlays += 'UlquiorraMask.dmi'
// if(usr.arrancarmask == "ShawlongMask")
// usr.overlays += 'ShawlongMask.dmi'
// if(usr.arrancarmask == "Deidoro")
// usr.overlays += 'Deidoro.dmi'
// if(usr.arrancarmask == "dordoniimask")
// usr.overlays += 'dordoniimask.dmi'
// if(usr.arrancarmask == "EdoradMask")
// usr.overlays += 'EdoradMask.dmi'
// if(usr.arrancarmask == "EdoradRelease")
// usr.overlays += 'EdoradRelease.dmi'
if(usr.mattack < 3000)
usr.attack += usr.mattack * 2
usr.defence += usr.mdefence * 1.6
goto ger
if(usr.mattack <= 6000)
usr.attack += usr.mattack * 3
usr.defence += usr.mdefence * 2.4
goto ger
if(usr.mattack > 150000)
usr.attack += usr.mattack * 3.7
usr.defence += usr.mdefence * 3
goto ger
ger
sleep(usr.masktime * 10)
if(usr)
usr.random = rand(5,9)
if(usr.random == 1)
usr.masktime += 1
usr.overlays -= 'YammyMask.dmi'
usr.overlays -= 'YammyMask.dmi'
usr.overlays -= 'UlquiorraMask.dmi'
usr.overlays -= 'UlquiorraMask.dmi'
usr.overlays -= 'ShawlongMask.dmi'
usr.overlays -= 'ShawlongMask.dmi'
usr.overlays -= 'Deidoro.dmi'
usr.overlays -= 'Deidoro.dmi'
usr.overlays -= 'EdoradMask.dmi'
usr.overlays -= 'EdoradMask.dmi'
usr.overlays -= 'EdoradRelease.dmi'
usr.overlays -= 'EdoradRelease.dmi'
usr.attack = usr.mattack
usr.defence = usr.mdefence
if(usr)
sleep(150)
usr.maskon = 0
// if(M.random == 1)
// M.arrancarmask = "YammyMask"
// if(M.random == 2)
// M.arrancarmask = "UlquiorraMask"
// if(M.random == 3)
// M.arrancarmask = "ShawlongMask"
// if(M.random == 4)
// M.arrancarmask = "Deidoro"
// if(M.random == 5)
// M.arrancarmask = "dordoniimask"
// if(M.random == 6)
// M.arrancarmask = "EdoradMask"
// if(M.random == 7)
// M.arrancarmask = "EdoradRelease"
Problem description:
Training.dm:746:error:M.random:undefined var
Training.dm:747:error:M.arrancarmask:undefined var
Training.dm:748:error:M.random:undefined var
Training.dm:749:error:M.arrancarmask:undefined var
Training.dm:750:error:M.random:undefined var
Training.dm:751:error:M.arrancarmask:undefined var
Training.dm:752:error:M.random:undefined var
Training.dm:753:error:M.arrancarmask:undefined var
Training.dm:754:error:M.random:undefined var
Training.dm:755:error:M.arrancarmask:undefined var
Training.dm:756:error:M.random:undefined var
Training.dm:757:error:M.arrancarmask:undefined var
Training.dm:758:error:M.random:undefined var
Training.dm:759:error:M.arrancarmask:undefined var
Training.dm:696:error:usr.arrancarmask:undefined var
Training.dm:700:error:usr.arrancarmask:undefined var
Training.dm:702:error:usr.arrancarmask:undefined var
Training.dm:704:error:usr.arrancarmask:undefined var
Training.dm:706:error:usr.arrancarmask:undefined var
Training.dm:708:error:usr.arrancarmask:undefined var
This is the EXACT error. and the EXACT code