diff options
-rw-r--r-- | src/map/pc.cpp | 5 | ||||
-rw-r--r-- | src/map/script-fun.cpp | 1 | ||||
-rw-r--r-- | src/map/skill.cpp | 2 | ||||
-rw-r--r-- | src/mmo/skill.t.hpp | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 9ef70fe..ecfd50e 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -871,6 +871,11 @@ int pc_authok(AccountId id, int login_id2, ClientVersion client_version, sd->quick_regeneration_sp.amount = 0; sd->heal_xp = 0; sd->max_weight_override = 0; + sd->activity.kills = 0; + sd->activity.casts = 0; + sd->activity.items_used = 0; + sd->activity.tiles_walked = 0; + sd->activity.attacks = 0; sd->canact_tick = tick; sd->canmove_tick = tick; sd->attackabletime = tick; diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index c471da1..27807b9 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -3881,6 +3881,7 @@ void builtin_sc_start(ScriptState *st) case StatusChange::SC_COOLDOWN_KOY: case StatusChange::SC_COOLDOWN_UPMARMU: case StatusChange::SC_COOLDOWN_SG: + case StatusChange::SC_COOLDOWN_CG: case StatusChange::SC_SLOWMOVE: case StatusChange::SC_CANTMOVE: break; diff --git a/src/map/skill.cpp b/src/map/skill.cpp index 7454cc3..f70a626 100644 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -768,6 +768,7 @@ void skill_status_change_end(dumb_ptr<block_list> bl, StatusChange type, TimerDa case StatusChange::SC_COOLDOWN_KOY: case StatusChange::SC_COOLDOWN_UPMARMU: case StatusChange::SC_COOLDOWN_SG: + case StatusChange::SC_COOLDOWN_CG: case StatusChange::SC_CANTMOVE: break; @@ -1050,6 +1051,7 @@ int skill_status_effect(dumb_ptr<block_list> bl, StatusChange type, case StatusChange::SC_COOLDOWN_KOY: case StatusChange::SC_COOLDOWN_UPMARMU: case StatusChange::SC_COOLDOWN_SG: + case StatusChange::SC_COOLDOWN_CG: case StatusChange::SC_CANTMOVE: break; case StatusChange::SC_FLYING_BACKPACK: diff --git a/src/mmo/skill.t.hpp b/src/mmo/skill.t.hpp index b0b6b8d..bab10f4 100644 --- a/src/mmo/skill.t.hpp +++ b/src/mmo/skill.t.hpp @@ -61,6 +61,7 @@ enum class StatusChange : uint16_t SC_COOLDOWN_KOY = 77, // Koyntety cooldown SC_COOLDOWN_UPMARMU = 78, // Upmarmu cooldown SC_COOLDOWN_SG = 79, // Stone Golem cooldown + SC_COOLDOWN_CG = 80, // Coal Golem cooldown SC_POISON = 132, // bad; actually used SC_SLOWMOVE = 133, // slows down movement |