def checkrequirements(self, char, mode, args=[], target=None, item=None): if char.polymorph: if char.socket: char.socket.clilocmessage(1005559) return 0 if char.incognito: if char.socket: char.socket.clilocmessage(502167) return 0 if len(args) == 0: polymorph.showmenu(char) return 0 return Spell.checkrequirements(self, char, mode, args, target, item)
def checkrequirements(self, char, mode, args=[], target=None, item=None): if char.polymorph: if char.socket: char.socket.clilocmessage(1005559) return 0 if char.incognito: if char.socket: char.socket.clilocmessage(502167) return 0 if necromancy.transformed(char): if char.socket: char.socket.clilocmessage(1061633 ) # You cannot polymorph while in that form. return 0 if len(args) == 0: polymorph.showmenu(char) return 0 return Spell.checkrequirements(self, char, mode, args, target, item)
def checkrequirements(self, char, mode, args=[], target=None, item=None): if char.polymorph: if char.socket: char.socket.clilocmessage(1005559) return 0 if char.incognito: if char.socket: char.socket.clilocmessage(502167) return 0 if necromancy.transformed(char): if char.socket: char.socket.clilocmessage( 1061633) # You cannot polymorph while in that form. return 0 if len(args) == 0: polymorph.showmenu(char) return 0 return Spell.checkrequirements(self, char, mode, args, target, item)