Skip to content

Commit

Permalink
Replace oui/non with yes/no (#2760)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaF1 authored Sep 13, 2024
1 parent d58f8f6 commit 1657fe8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/game/Commands/DebugCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ bool ChatHandler::HandleSpellInfosCommand(char *args)
PSendSysMessage("MaxTargetLevel%u:DmgClass%u:rangeIndex%u", pSpell->MaxTargetLevel, pSpell->DmgClass, pSpell->rangeIndex);
PSendSysMessage("procChance%u:procFlags0x%x:procCharges%u", pSpell->procChance, pSpell->procFlags, pSpell->procCharges);
PSendSysMessage("InterruptFlags0x%x:AuraInterruptFlags0x%x:PreventionType%x:spellLevel%u", pSpell->InterruptFlags, pSpell->AuraInterruptFlags, pSpell->PreventionType, pSpell->spellLevel);
PSendSysMessage("SpellSpecific%u:Binaire%s:spellPriority%u:Positive%u", Spells::GetSpellSpecific(pSpell->Id), pSpell->IsBinary() ? "OUI" : "NON", pSpell->spellPriority, pSpell->IsPositiveSpell());
PSendSysMessage("RecoveryTime%u:CategoryRecoveryTime%u:PvEHeartBeat%s", pSpell->RecoveryTime, pSpell->CategoryRecoveryTime, pSpell->IsPvEHeartBeat() ? "OUI" : "NON");
PSendSysMessage("SpellSpecific%u:Binaire%s:spellPriority%u:Positive%u", Spells::GetSpellSpecific(pSpell->Id), pSpell->IsBinary() ? "YES" : "NO", pSpell->spellPriority, pSpell->IsPositiveSpell());
PSendSysMessage("RecoveryTime%u:CategoryRecoveryTime%u:PvEHeartBeat%s", pSpell->RecoveryTime, pSpell->CategoryRecoveryTime, pSpell->IsPvEHeartBeat() ? "YES" : "NO");
return true;
}

Expand Down
4 changes: 2 additions & 2 deletions src/game/Commands/ServerCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ bool ChatHandler::HandleWorldTestCommand(char *args)
return false;
}
PSendSysMessage("My worldmask is 0x%x. My target worldmask is 0x%x.", me->GetWorldMask(), target->GetWorldMask());
PSendSysMessage("I see the target ? %s", me->CanSeeInWorld(target) ? "oui" : "non");
PSendSysMessage("My target sees me ? %s", target->CanSeeInWorld(me) ? "oui" : "non");
PSendSysMessage("I see the target ? %s", me->CanSeeInWorld(target) ? "yes" : "no");
PSendSysMessage("My target sees me ? %s", target->CanSeeInWorld(me) ? "yes" : "no");
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ struct boss_razorgoreAI : public ScriptedAI

void GetAIInformation(ChatHandler& handler) override
{
handler.PSendSysMessage("* CombatMovement : %s", IsCombatMovementEnabled() ? "OUI" : "NON");
handler.PSendSysMessage("* CombatMovement : %s", IsCombatMovementEnabled() ? "YES" : "NO");
}
};

Expand Down

0 comments on commit 1657fe8

Please sign in to comment.