Add back some stuff that was reverted

This commit is contained in:
John Cote 2015-05-25 00:49:39 -04:00
parent aa15104fa5
commit 062dfd24be
4 changed files with 8 additions and 49 deletions

View file

@ -1,47 +0,0 @@
(dp1
I4000
(lp2
I236
aI34
aI250
aI67
aI13
asI1000
(lp3
I17
aI118
aI99
aI16
aI29
asI9000
(lp4
I222
aI104
aI121
aI59
aI93
asI2000
(lp5
I86
aI139
aI161
aI64
aI194
asI5000
(lp6
I41
aI130
aI85
aI100
aI251
asI3000
(lp7
I157
aI215
aI208
aI242
aI207
asS'day'
p8
I16579
s.

Binary file not shown.

Binary file not shown.

View file

@ -642,10 +642,16 @@ class Avatar(Actor, ShadowCaster):
return Actor.loop(self, animName, restart, partName, fromFrame, toFrame)
@magicWord(category=CATEGORY_COMMUNITY_MANAGER)
@magicWord(category=CATEGORY_COMMUNITY_MANAGER, types=[])
def target():
"""
Returns the current Spellbook target.
"""
target = spellbook.getTarget()
return 'Target: %s-%d [%d]' % (target.getName(), target.doId, target.getAdminAccess())
print 'Called target.'
print 'Name: ' + target.getName()
doId = str(int(target.doId))
print 'doId: ', doId
accessLevel = str(int(target.getAdminAccess()))
print 'Access Level: ', accessLevel
return 'Target: %s-%d [%d]' % (target.getName(), int(target.doId), int(target.getAdminAccess()))