battle Royale : 64 guys with same skills on the island

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Darkbouzouf
Beta Tester
 
Posts: 19
Joined: 25 Nov 2014, 00:02

battle Royale : 64 guys with same skills on the island

Post by Darkbouzouf » 17 Jan 2016, 12:21

Hi guys,

I'm trying to create a tournament on the island, with dedicated characters created with same stats.


I created 64 characters, i want to give them all skills lvl 70 and refresh it evry time server restarts so i add this in dump.sql
(the boring number list are the ID of the charac i created)

Spoiler


My problem is that when you create a char, skills table don't create all skills but only the first ones like this
Image

so i tried to add this in dump.sql but nothing happened :cry:

Spoiler


1- As you can see, i tried to check if skill exists, and then to create it if it does not.

Probably syntax error somewhere.

2- I like to check and create all skills (more or less 65 as far as i remember) for all my 64 created chars, so if someone can show me how to create a loop
CALL f_addSkill(loop_with_all_char_id,loop_all_skill_id_from1_to65,70000000,1);
Image

Return to Game mods