Hello guys anyone can help me with this script? I'm converting my endless tower from rAthena to Hercules. Since we don't have this what should I use instead?
*instance_live_info(<infotype>{,<instanceid>});
Returns the specified <infotype> of instance attached to the npc or, if
an instance ID is specified, of that instance.
Valid <infotype>:
ILI_NAME - Instance Name
Return the name of the instance or "" if that fails.
ILI_MODE - Instance Mode
Return IM_NONE, IM_CHAR, IM_PARTY, IM_GUILD, IM_CLAN or -1 if that fails.
ILI_OWNER - Owner ID
Return an ID according to the instance mode of the instance attached/specified or -1 if that fails.
When the instance mode is IM_NONE, ILI_OWNER will return the npc ID that created the instance,
IM_CHAR - the owner char ID
IM_PARTY - the party ID
IM_GUILD - the guild ID
IM_CLAN - the clan ID
Examples:
// Return the instance name of the instance attached to the npc.
.@instance_name$ = instance_live_info(ILI_NAME);
// Return the guild owner ID of the given instance ID.
.@owner = instance_live_info(ILI_OWNER, instance_id(IM_GUILD));
This part links the value of what the player chose so it would supply the data if it's easy / hard etc.
Hello guys anyone can help me with this script? I'm converting my endless tower from rAthena to Hercules. Since we don't have this what should I use instead?
This part links the value of what the player chose so it would supply the data if it's easy / hard etc.
1@tower,29,365,1 script #1F Controller 844,{ end; OnInstanceInit: 'level_mode = $ENDLESSMODE[instance_live_info(ILI_OWNER)]; <---- callfunc "F_Tower_Monster",1,instance_mapname("1@tower"),instance_npcname("#1F Controller")+"::OnMyMobDead";
https://rathena.org/board/topic/133368-quests-games-endless-tower-instance-with-difficulty/
Share this post
Link to post
Share on other sites