Commit e50541ee authored by Chen Bill's avatar Chen Bill

edit comment

parent bcbe69d9
...@@ -170,7 +170,7 @@ public: ...@@ -170,7 +170,7 @@ public:
uint8_t attack_controler{}; uint8_t attack_controler{};
uint64_t cardid{}; uint64_t cardid{};
uint32_t fieldid{}; uint32_t fieldid{};
uint32_t fieldid_r{}; uint32_t fieldid_r{}; //real field id, updated when moving to new location
uint16_t turnid{}; uint16_t turnid{};
uint16_t turn_counter{}; uint16_t turn_counter{};
uint8_t unique_pos[2]{}; uint8_t unique_pos[2]{};
......
...@@ -159,9 +159,6 @@ int32_t effect::is_single_ready() { ...@@ -159,9 +159,6 @@ int32_t effect::is_single_ready() {
int32_t res = pduel->lua->check_condition(condition, 1); int32_t res = pduel->lua->check_condition(condition, 1);
return res; return res;
} }
// reset_count: count of effect reset
// count_limit: left count of activation
// count_limit_max: max count of activation
int32_t effect::check_count_limit(uint8_t playerid) { int32_t effect::check_count_limit(uint8_t playerid) {
if(is_flag(EFFECT_FLAG_COUNT_LIMIT)) { if(is_flag(EFFECT_FLAG_COUNT_LIMIT)) {
if(count_limit == 0) if(count_limit == 0)
......
...@@ -42,8 +42,8 @@ public: ...@@ -42,8 +42,8 @@ public:
uint16_t range{ 0 }; uint16_t range{ 0 };
uint16_t s_range{ 0 }; uint16_t s_range{ 0 };
uint16_t o_range{ 0 }; uint16_t o_range{ 0 };
uint8_t count_limit{ 0 }; uint8_t count_limit{ 0 }; //left count of activation
uint8_t count_limit_max{ 0 }; uint8_t count_limit_max{ 0 }; //max count of activation
uint16_t status{ 0 }; uint16_t status{ 0 };
int32_t reset_count{ 0 }; int32_t reset_count{ 0 };
uint32_t reset_flag{ 0 }; uint32_t reset_flag{ 0 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment