Results 1 to 2 of 2

Thread: casts CHANCE detail (add more info?)

  1. #1
    Senior Member ckb's Avatar
    Join Date
    Mar 2006
    Posts
    820

    Default casts CHANCE detail (add more info?)

    Looking at a run log, there is a "casts CHANCE" entry.
    From FightRequest.java, it looks like this happens when someone somehow uses an unknown skill.

    Code:
    				int skillNumber = StringUtilities.parseInt( skillId );
    				String skill = SkillDatabase.getSkillName( skillNumber );
    				if ( skill == null )
    				{
    					if ( shouldLogAction )
    					{
    						action.append( "casts CHANCE!" );
    					}
    				}
    Is there a way to add more information to this? Maybe with SkillId?
    (I don't fully understand how this works)

  2. #2
    Developer
    Join Date
    Apr 2010
    Posts
    4,821

    Default

    Hopefully r18687 will learn the skill name from fight.php prior to logging it being used !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •