Cocobard Niveau 10


Age: 29 Nombre de messages: 969 Personage principal: Tashia82 Classe: Archer Niveau: 91 Date d'inscription: 30/07/2007
 | Sujet: Re: Calculateur de SP Lun 23 Nov - 16:05 | |
| Si cela interesse quelqu'un j'ai ajouté les SP requis par le night shadow... (et non ce n'est pas une blague mdr). _________________ "No ani ancuetas" "Je suis chef de guerre moi, je suis pas là pour secouer les drapeaux et jouer de la trompette!"
|
|
kad31 Niveau 3


Age: 37 Nombre de messages: 110 Personage principal: Yasmina1 Classe: Assassin Niveau: 100 Date d'inscription: 21/08/2008
 | Sujet: Re: Calculateur de SP Lun 23 Nov - 17:46 | |
| |
|
Cocobard Niveau 10


Age: 29 Nombre de messages: 969 Personage principal: Tashia82 Classe: Archer Niveau: 91 Date d'inscription: 30/07/2007
 | Sujet: Re: Calculateur de SP Dim 20 Déc - 0:09 | |
| Ce post est destiné à ceux qui veulent traduire ma petite application  The full source code is here : http://pagesperso-orange.fr/metateam.fr/LC/sk_mgr.rar To make your translation, for example in german, here are the files you need to make :  translate-ger.js -> the translation of translate.js  mobdata-ger.js -> the translation of mobdata.js  skdata-ger.js -> this is the biggest part of the job : You will have to translate all skills and enter correct values for skills costs. skills costs are part of the "SkillLevels" : On this example : | Code: | test_1 = new Skill("Shining Arrow","A standard attack. Does not have any special ability. This skill has a 2 second cool down at level 3 and a 6 second cool down at level 5.","general","img/1.jpg"); test_1.addLevel(new SkillLevel(1, 0,17,1,0,null,0,2,10,135)); test_1.addLevel(new SkillLevel(2, 3,23,1,0,null,0,2,10,170)); test_1.addLevel(new SkillLevel(3, 5,30,1,0,null,0,2,10,219)); test_1.addLevel(new SkillLevel(4,12,39,1,0,null,0,4,10,282)); test_1.addLevel(new SkillLevel(5,43,50,1,0,null,0,6,10,360)); Healer.addSkill(test_1);
|
Let's look at the first level of the skill :
| Code: | test_1.addLevel(new SkillLevel(1, 0,17,1,0,null,0,2,10,135)); |
-this skill level is the level 1, -the SP costs is 0 (0 is also the value i use for unknow levels), -the mana costs is 17 (-1 means unknown), -required level is 1 (-1 means unknow), -gold cost is 0 (use "unk" if it is unknown), -list of items required is null (no items), -duration is 0 seconds (this skill is a one hit damage not a buff/debuff...) -cooldown is 2seconds. -distance is 10 meters. -"power" is 135.
basically you will only need to edit the second value (SP cost) 
And finally you'll have to write :
index-ger.html -> the translation of "index.html". Also change the links to "translate.js" into a link to "translate-ger.js" same for skdata.js->skdata-ger.js 
You might also want to change the "wikiNotice()" function in the skmgr.js file, but i suggest you make a translated/upgraded copy of it (e.g. wikiNoticeGER()) in skdata.js or index-ger.html file.
The file skmgr.js has no need to be translated : all the strings are in the translate files. If you change this file it will make it very hard for me to help you. Let me know if you find untranslatable character string  _________________ "No ani ancuetas" "Je suis chef de guerre moi, je suis pas là pour secouer les drapeaux et jouer de la trompette!"
Dernière édition par Cocobard le Mer 17 Mar - 15:02, édité 6 fois |
|
Cocobard Niveau 10


Age: 29 Nombre de messages: 969 Personage principal: Tashia82 Classe: Archer Niveau: 91 Date d'inscription: 30/07/2007
 | Sujet: Re: Calculateur de SP Mar 16 Fév - 15:10 | |
| Je viens d'ajouter une nouvelle petite option  Si vous voulez la tester  Il s'agit de choisir un mob, dire combien de SP on veut et avec les informations fournies la calculatrice vous indique combien de monstres tuer et combien de temps cela prendra pour finir ses SP ou passer son level ^^ http://pagesperso-orange.fr/metateam.fr/LC/sk_mgr/?Cpage=Mcalc Il n'y a pas d'autre moyen (pour l'instant) d'activer cette option sans passer par ce lien. (beta-test ^^). http://pagesperso-orange.fr/metateam.fr/LC/sk_mgr/index-fr.html?Cpage=Mcalc Version pseudo-fr. Il y a quelques mobs préenregistrés, j'en rajouterais d'autres quand j'aurais le temps ou sur demande ^^ _________________ "No ani ancuetas" "Je suis chef de guerre moi, je suis pas là pour secouer les drapeaux et jouer de la trompette!"
|
|
Zen Niveau 5


Age: 27 Nombre de messages: 259 Personage principal: ZenaI Classe: Wizard Niveau: 87 Date d'inscription: 27/10/2008
 | Sujet: Re: Calculateur de SP Jeu 18 Fév - 12:00 | |
| |
|
Cocobard Niveau 10


Age: 29 Nombre de messages: 969 Personage principal: Tashia82 Classe: Archer Niveau: 91 Date d'inscription: 30/07/2007
 | Sujet: Re: Calculateur de SP Jeu 15 Avr - 20:40 | |
| Un petit script de simulation de HS :
http://pagesperso-orange.fr/metateam.fr/LC/upg_sim/hsupgtest.html _________________ "No ani ancuetas" "Je suis chef de guerre moi, je suis pas là pour secouer les drapeaux et jouer de la trompette!"
|
|