Jump to content
Forgot your email address? ×
×
×
  • Create New...

PHP - Bonus Class Translator


Recommended Posts

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Internal )

I think someone will be useful, the list of bonuses in two languages as one file. (If anyone wants, I can automatically translate in his language)

 

https://github.com/Alerinos/M2-WWW-Bonus

Example:

use M2\Bonus;

$bonus = new Bonus(Bonus::APPLY_ATT_SPEED); // bonus name or ID
$bonus->lang = 'en';
echo $bonus->translation;
echo $bonus->name;
echo $bonus->id;

I can create scripts / systems in PHP on request.

  • Love 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.