What's new

C++ Affect potion system

Pisti95

Well-known member
Nekem nem mutatta a harmatok kis ikonját bal felül, ezért még kiegészítésre szorul!

sysser-je:

Code:
0223 01:40:04467 :: Traceback (most recent call last):

0223 01:40:04467 ::   File "game.py", line 751, in BINARY_NEW_AddAffect

0223 01:40:04467 ::   File "uiAffectShower.py", line 543, in BINARY_NEW_AddAffect

0223 01:40:04467 :: TypeError
0223 01:40:04467 :: :
0223 01:40:04467 :: 'str' object is not callable
0223 01:40:04467 ::

Javítás rá:

uiaffectshower.py

Keressétek ezt:
Code:
if affect != chr.NEW_AFFECT_AUTO_SP_RECOVERY and affect != chr.NEW_AFFECT_AUTO_HP_RECOVERY:

Cseréljétek ki erre:
Code:
            if affect != chr.NEW_AFFECT_AUTO_SP_RECOVERY and affect != chr.NEW_AFFECT_AUTO_HP_RECOVERY and affect != chr.NEW_SEBNEM_POTION_1 and affect != chr.NEW_SEBNEM_POTION_2 and affect != chr.NEW_SEBNEM_POTION_3 and affect != chr.NEW_SEBNEM_POTION_4 and affect != chr.NEW_SEBNEM_POTION_5 and affect != chr.NEW_SEBNEM_POTION_6:
1.jpg
 
Last edited:

kimihua

New member
[QUOTE = "ScriptMan, post: 1469, membro: 1"]
[MEDIA = youtube] 1J8e_RdsZrI [/ MEDIA]
Baixar:
Sem citação

Eredeti téma:
Sem citação
[/CITAR]
 
Top