Una banalità... se si usa la la funzione cura (aggiungere PF) è possibile aggiungere PF anche oltre il limite massimo, il che porta a visualizzazioni strane dello stato attuale tipo: PF 102/100.
E' un bug oppure una feature?
Edit; la funzione stordisci non funziona, mi dà il seguente errore:
Traceback (most recent call last):
File "/home/chiavix/aid20/Tools/CombatManager.py", line 145, in mouseReleaseEvent
self.emit(SIGNAL("stunned(PyQt_PyObject)"), item)
TypeError: argument 0 of signal QGraphicsScene.stunned(PyQt_PyObject) has an invalid type
[/code]
[u]Edit 2[/u]; analogo problema per la funzione lanciare incantesimi:
[code]
Traceback (most recent call last):
File "/home/chiavix/aid20/Tools/CombatManager.py", line 147, in mouseReleaseEvent
self.emit(SIGNAL("spellTargeted(PyQt_PyObject)"), item)
TypeError: argument 0 of signal QGraphicsScene.spellTargeted(PyQt_PyObject) has an invalid type