mirror of
https://github.com/zeldaret/botw
synced 2026-06-21 15:56:53 -04:00
ksys/act: Add InfoCommon Bow and Master Sword functions
This commit is contained in:
@@ -115,6 +115,42 @@ bool getWeaponCommonPoweredSharpAddSurfMaster(const al::ByamlIter& iter) {
|
||||
return InfoData::getBoolByKey(iter, "weaponCommonPoweredSharpAddSurfMaster");
|
||||
}
|
||||
|
||||
const char* getBowArrowName(InfoData* data, const char* actor) {
|
||||
return data->getString(actor, "bowArrowName");
|
||||
}
|
||||
|
||||
bool getBowIsLeadShot(const al::ByamlIter& iter) {
|
||||
return InfoData::getBoolByKey(iter, "bowIsLeadShot");
|
||||
}
|
||||
|
||||
int getBowLeadShotNum(const al::ByamlIter& iter) {
|
||||
return InfoData::getIntByKey(iter, "bowLeadShotNum");
|
||||
}
|
||||
|
||||
bool getBowIsRapidFire(const al::ByamlIter& iter) {
|
||||
return InfoData::getBoolByKey(iter, "bowIsRapidFire");
|
||||
}
|
||||
|
||||
int getBowRapidFireNum(const al::ByamlIter& iter) {
|
||||
return InfoData::getIntByKey(iter, "bowRapidFireNum");
|
||||
}
|
||||
|
||||
int getMasterSwordTrueFormAttackPower(InfoData* data, const char* actor) {
|
||||
return data->getInt(actor, "masterSwordTrueFormAttackPower", -1);
|
||||
}
|
||||
|
||||
float getMasterSwordSearchEvilDist(InfoData* data, const char* actor) {
|
||||
return data->getFloat(actor, "masterSwordSearchEvilDist", -1.0);
|
||||
}
|
||||
|
||||
const char* getMasterSwordSleepActorName(InfoData* data, const char* actor) {
|
||||
return data->getString(actor, "masterSwordSleepActorName");
|
||||
}
|
||||
|
||||
const char* getMasterSwordTrueFormActorName(InfoData* data, const char* actor) {
|
||||
return data->getString(actor, "masterSwordTrueFormActorName");
|
||||
}
|
||||
|
||||
const char* getArmorNextRankName(InfoData* data, const char* actor) {
|
||||
return data->getString(actor, "armorNextRankName", sead::SafeString::cEmptyString);
|
||||
}
|
||||
|
||||
@@ -42,6 +42,17 @@ float getWeaponCommonPoweredSharpAddRapidFireMin(const al::ByamlIter& iter);
|
||||
float getWeaponCommonPoweredSharpAddRapidFireMax(const al::ByamlIter& iter);
|
||||
bool getWeaponCommonPoweredSharpAddSurfMaster(const al::ByamlIter& iter);
|
||||
|
||||
const char* getBowArrowName(InfoData* data, const char* actor);
|
||||
bool getBowIsLeadShot(const al::ByamlIter& iter);
|
||||
int getBowLeadShotNum(const al::ByamlIter& iter);
|
||||
bool getBowIsRapidFire(const al::ByamlIter& iter);
|
||||
int getBowRapidFireNum(const al::ByamlIter& iter);
|
||||
|
||||
int getMasterSwordTrueFormAttackPower(InfoData* data, const char* actor);
|
||||
float getMasterSwordSearchEvilDist(InfoData* data, const char* actor);
|
||||
const char* getMasterSwordSleepActorName(InfoData* data, const char* actor);
|
||||
const char* getMasterSwordTrueFormActorName(InfoData* data, const char* actor);
|
||||
|
||||
const char* getArmorNextRankName(InfoData* data, const char* actor);
|
||||
|
||||
int getItemStainColor(InfoData* data, const char* actor);
|
||||
@@ -49,7 +60,6 @@ int getItemStainColor(InfoData* data, const char* actor);
|
||||
int getCureItemHitPointRecover(InfoData* data, const char* actor);
|
||||
int getCureItemHitPointRecover(const al::ByamlIter& iter);
|
||||
|
||||
|
||||
int getMonsterShopSellMamo(const al::ByamlIter& iter);
|
||||
|
||||
} // namespace ksys::act
|
||||
|
||||
Reference in New Issue
Block a user